package com.itheima.dao;

import com.itheima.po.User;

public interface UserDao {
    //创建用户
    public void createUser(User user);
    //查询用户名是否重复
    public int ifUsernameRepeat(User user);
    //查询电话是否重复
    public int ifPhoneRepeat(User user);
    //查询用户名/密码
    public User selectUsernameAndPassword(User user);
    //用户名查询用户
    public User findUserByUsernaem(String name);
}
